﻿using System;
using System.ComponentModel.DataAnnotations;


namespace Ekton_Manage_DomainAbstractions
{
    public class Entity<TKey> : IAggregateRoot
    {
        [Key]
        public TKey id { get; set; }
        public int create_op_id { get; set; }
        public string create_op_name { get; set; }
        public DateTime create_op_date { get; set; }
        public int? edit_op_id { get; set; }
        public string? edit_op_name { get; set; }
        public DateTime? edit_op_date { get; set; } = Convert.ToDateTime("2020-02-02");
    }
}
